package utils;

import javafx.scene.control.Alert;

/**
 * @Description
 * @Author zengzerui
 * @Date 2025/4/21
 */
public class CommonUtil {
    public static void showAlert(String title, String message, Alert.AlertType alertType) {
        Alert alert = new Alert(alertType);
        alert.setTitle(title);
        alert.setHeaderText(null);
        alert.setContentText(message);
        alert.showAndWait();
    }
}
